home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr47 / lzpip103.zip / README.OLD < prev    next >
Text File  |  1993-10-29  |  1KB  |  33 lines

  1. 'doz' (do Z) is a simple LZW coder/decoder example analogous to
  2. well-known UNIX 'compress' program by Joe Orost. It works in a
  3. same fashion under both MS-DOS and UNIX.
  4.  
  5. Initially this code was derived from 'compress' sources and
  6. modified for usage as a part of portable tar program. Since
  7. portable tar become shareware I had to extract compressor into
  8. separate free-of-charge utility (due to copyright issues).
  9.  
  10. This program demonstrates technique that differs from compress
  11. into two respects:
  12.  - (de)compression primitives are organized in open/read/write
  13.    fashion and
  14.  - it uses dynamic memory allocation for working arrays.
  15. I believe this difference makes 'doz' parts a useful toolkit for
  16. any programmer need in LZW compressor.
  17.  
  18. The only need in a main program is to demonstrate the other code
  19. usage. :-) To call the program type at the OS prompt
  20.  
  21.         doz <options> <input file> <output file>
  22.  
  23. Valid options are
  24.  -c - compress a file;
  25.  -d - decompress a file;
  26.  -b nn - set bits factor (nn stands for bits factor); valid
  27.      values for bits factor is from 12 to 16, default is 16.
  28.      The greater this value, the better is compression ratio and
  29.      more memory and time compressor will eat.
  30.  
  31. For any questions concerning this program please contact me
  32.         Tim V.Shaporev          tim@shaporev.msk.su
  33.